package com.woniu.service;

import com.woniu.entity.RawMaterial;
import com.woniu.util.ResponseUtil;

import java.util.List;

public interface RawMaterialService {
    ResponseUtil findAll();
    ResponseUtil findOne();
    ResponseUtil findTwo();
    ResponseUtil findByMaterialId(Integer materialId);
    ResponseUtil add(RawMaterial rawMaterial);
    ResponseUtil delete(Integer materialId);
    ResponseUtil update(RawMaterial rawMaterial);
    ResponseUtil update1(Integer materialId ,Integer status);
    ResponseUtil findByStatus();
    // 新增条件查询
    ResponseUtil findByCondition(RawMaterial rawMaterial);
    ResponseUtil findByCondition1(RawMaterial rawMaterial);
    ResponseUtil findByCondition2(RawMaterial rawMaterial);
}
